<?php
class lostpass_model extends Model
{
	function lostpass_model()
	{
		 parent::Model();
	}
	
	function reset_password($email)
	{
		$this->db->where('cusmail',$email);
		$this->db->where('status', 1);
		$query = $this->db->get('customer');
		return $query->row();
	}
}
?>
